﻿using BaseDal;
using System;
using System.Data;

namespace BaseBll
{
    public class SysLogBll
    {
        static readonly Lazy<SysLogBll> bll = new Lazy<SysLogBll>(() => new SysLogBll());
        public static SysLogBll Instance { get; } = bll.Value;
        private SysLogBll() { }

        /// <summary>
        /// 查询日志
        /// </summary>
        /// <param name="pageSize">页尺寸</param>
        /// <param name="pageIndex">当前页</param>
        /// <param name="strWhere">查询条件</param>
        /// <param name="filedOrder">排序字段</param>
        /// <param name="recordCount">记录数</param>
        /// <returns></returns>
        public DataTable GetSysLog(int pageSize, int pageIndex, string strWhere, string filedOrder, out int recordCount)
        {
            return SysLogDal.Instance.GetSysLog(pageSize, pageIndex, strWhere, filedOrder, out recordCount);
        }

    }
}
